#ifndef RPCCLIENT_H
#define RPCCLIENT_H

#include "os_thread.h"

class RPCClient
{
public:
	RPCClient();
	virtual ~RPCClient();

	void set_sock(int sock);


	int startThread();
	static int ThreadProc(void *instance);
	virtual int run();
protected:
private:
	int m_sock;
	os_thread_t *m_pThread;
};

#endif